level bar: Fix offset behavior
authorMatthias Clasen <mclasen@redhat.com>
Sat, 6 Feb 2016 15:42:25 +0000 (16:42 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 6 Feb 2016 15:43:45 +0000 (16:43 +0100)
commitccd8c76ff2d73215e0785db8568ec500ed7a238d
treed8188587f4c43ceaed546c5ea29b66f1322859eb
parent1a71579b61a51d9ae357f4919ac026a89ca0e195
level bar: Fix offset behavior

We had some odd special-casing for the lowest and highest offset
that did not quite work. The new rule is simple: If the value
is between offset n-1 and n, it gets the style for offset n.

https://bugzilla.gnome.org/show_bug.cgi?id=761416
gtk/gtklevelbar.c